/*
 * @Description: 
 * @Author: zhuying
 * @Date: 2024-11-25 10:00:06
 * @LastEditors: zhuying
 * @LastEditTime: 2024-11-28 09:02:10
 */
package com.briup.demo;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//加了这个注解后，在这个类编译的时候
// lombok会自动生成getter、setter方法，toString方法，equals方法，hashCode方法
//@Data 不会生成构造器
@NoArgsConstructor//无参构造器
@AllArgsConstructor//全参构造器
@Data
//@Getter
//@Setter
//@ToString
//@EqualsAndHashCode
public class User {
    private Integer id;
    private String name;
    private Short age;
    private Short gender;
    private String phone;
    private LocalDate birthday;
    private LocalDateTime registerTime;
    
}
